package com.gymjournal

class GymnasticType {
    static belongsTo = Gymnastic

    String code
    String displayName
    String about

    static constraints = {
        code(nullable: false, unique: true)
        displayName(nullable: false, unique: true)
        about(nullable: true)
    }

    @Override
    String toString() {
        displayName
    }
}
